goog.provide('myproject');
goog.provide('myproject.start');

goog.require('goog.dom');
goog.require('goog.structs.Map');

/**
 * Foo function.
 * @param {string} bar Bar arg.
 */
myproject.foo = function(bar) {
    window.console.log(bar);
}

/**
 * Bar constant.
 * @type {string}
 * @const
 */
myproject.BAR = "asdf";

myproject.start = function() {

  // myproject.foo(1);

  var foo = 3;
  var foo = 3;

  myproject.BAR = "jkl";

  var map = new goog.structs.Map(1);
  // map.set(1, 2, 3);


  /** @const */
  var foo = 3;
  foo = 4;

  var newDiv = goog.dom.createDom('h1', {'style': 'background-color:#EEE'},
    'Hello world!');
  goog.dom.appendChild(document.body, newDiv);
};

// Ensures the symbol will be visible after compiler renaming.
goog.exportSymbol('myproject.start', myproject.start);
